﻿using Microsoft.AspNetCore.Mvc.Filters;
using System;

namespace AgencyManagerSystem
{
    internal class GlobalExceptions : IExceptionFilter
    {
        public void OnException(ExceptionContext context)
        {
            Console.WriteLine(context.Exception.Message);
        }
    }
}